package cn.dj.order.service;

import cn.dj.basic.util.PageList;
import cn.dj.order.domain.OrderPetAcquisition;
import cn.dj.basic.service.BaseService;
import cn.dj.order.dto.OrderDto;
import cn.dj.order.query.OrderPetAcquisitionQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类:宠物收购订单
 * </p>
 *
 * @author dj
 * @since 2023-02-21
 */
public interface IOrderPetAcquisitionService extends BaseService<OrderPetAcquisition> {
    /**
     * 重写分页,高级查询的方法
     * @param query
     * @param request
     * @return
     */
    PageList<OrderPetAcquisition> queryPage(OrderPetAcquisitionQuery query, HttpServletRequest request);

    /**
     * 订单确认
     * @param orderDto
     */
    void confirm(OrderDto orderDto);

    /**
     * 订单取消
     * @param id
     */
    void cancel(Long id);
}
